package 试题和试卷;

import javax.swing.*;

public class definitionQuestion extends question{
    public JRadioButton definite;
    public String rightOption,wrongOption;

    public definitionQuestion(String title,String text,String type,double difficulty,int fullscore,String answer){
        super();
        this.title=title;
        this.text=text;
        this.type=type;
        this.difficulty=difficulty;
        this.fullScore=fullscore;
        this.answer=answer;
    }

    public void setRightOption(String a){
        rightOption=a;
    }

    public void setWrongOption(String a){
        wrongOption=a;
    }

    public String getRightOption(){
        return rightOption;
    }

    public String getWrongOption(){
        return wrongOption;
    }
}
